﻿<%@ page title="" language="C#" masterpagefile="~/Page/MasterPage.master" autoeventwireup="true" inherits="Page_Register_RegisterOfEnterprise, App_Web_registerofenterprise.aspx.ee5a53de" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicRegisterEnterpriseTop" runat="server" ImageUrl="~/Images/Register/bgpicRegisterEnterpriseTop.png" />
        </div>
        <div id="SignUp">
            <div class="TopStyle" style="color:#CC0000;">
                Sign Up for Your New Account
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="6" class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            User Name:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseUserName" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseUserName" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterpriseUserName"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Password:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterprisePassword" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle" 
                                TextMode="Password"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterprisePassword" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterprisePassword"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Confirm:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseConfirm" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle" 
                                TextMode="Password"></asp:TextBox>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToCompare="txtRegisterEnterprisePassword" 
                                ControlToValidate="txtRegisterEnterpriseConfirm" Display="Dynamic" 
                                ErrorMessage="The password do not match! " CssClass="ValidatorStyle"></asp:CompareValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseConfirm" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterpriseConfirm"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            E-mail:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseEmail" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="txtRegisterEnterpriseEmail" Display="Dynamic" 
                                ErrorMessage="Format: XX@XX.com" 
                                ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                                CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseEmail" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterpriseEmail"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Security Question:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseSecurityQuestion" Width="265px"
                                BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseSecurityQuestion" runat="server"
                                ErrorMessage="Required." Font-Bold="True" Font-Size="Small" ForeColor="#CC0000"
                                ControlToValidate="txtRegisterEnterpriseSecurityQuestion"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Security Answer:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseSecurityAnswer" Width="265px"
                                BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseSecurityAnswer" runat="server"
                                ErrorMessage="Required." Font-Bold="True" Font-Size="Small" ForeColor="#CC0000"
                                ControlToValidate="txtRegisterEnterpriseSecurityAnswer"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div class="ButtonAndBlankStyle">
        </div>
        <div id="EditInfo">
            <div class="TopStyle" style="color:#CC0000;">
                Edit Your Information
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="6" class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Enterprise Name:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseEnterpriseName" Width="265px"
                                BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseEnterpriseName" runat="server"
                                ErrorMessage="Required." Font-Bold="True" Font-Size="Small" ForeColor="#CC0000"
                                ControlToValidate="txtRegisterEnterpriseEnterpriseName"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Phone:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterprisePhone" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ControlToValidate="txtRegisterEnterprisePhone" Display="Dynamic" 
                                ErrorMessage="Wrong phone number type!" 
                                ValidationExpression="[1][3-8]\d{9}" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterprisePhone" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterprisePhone"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Address:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseAddress" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseAddress" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterpriseAddress"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            City:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterpriseCity" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseCity" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterpriseCity"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            State / Province:
                        </td>
                        <td>
                            <asp:DropDownList ID="listRegisterEnterpriseState_Province" runat="server" Width="268px"
                                Font-Names="Times New Roman" CssClass="DropDownListStyle">
                                <asp:ListItem>California</asp:ListItem>
                                <asp:ListItem>Colorado</asp:ListItem>
                                <asp:ListItem>Hawaii</asp:ListItem>
                                <asp:ListItem>Louisiana</asp:ListItem>
                                <asp:ListItem>Massachusetts</asp:ListItem>
                                <asp:ListItem>Nevada</asp:ListItem>
                                <asp:ListItem>New Jersey</asp:ListItem>
                                <asp:ListItem>Virginia</asp:ListItem>
                                <asp:ListItem>Washington</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseState_Province" runat="server"
                                ErrorMessage="Required." Font-Bold="True" Font-Size="Small" ForeColor="#CC0000"
                                ControlToValidate="listRegisterEnterpriseState_Province"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Postal Code:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtRegisterEnterprisePostalCode" Width="265px" BorderColor="Black"
                                BorderStyle="Solid" BorderWidth="1px" CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                ControlToValidate="txtRegisterEnterprisePostalCode" Display="Dynamic" 
                                ErrorMessage="Wrong postal code type!" 
                                ValidationExpression="[1-9]\d{5}(?!\d)" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterprisePostalCode" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterprisePostalCode"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Enterprise Type:
                        </td>
                        <td>
                            <asp:DropDownList ID="listRegisterEnterpriseEnterpriseType" runat="server" Width="268px"
                                CssClass="DropDownListStyle" Font-Names="Times New Roman">
                                <asp:ListItem>Advertising Industry</asp:ListItem>
                                <asp:ListItem>Building Industry</asp:ListItem>
                                <asp:ListItem>Clothing Industry</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseEnterpriseType" runat="server"
                                ErrorMessage="Required." Font-Bold="True" Font-Size="Small" ForeColor="#CC0000"
                                ControlToValidate="listRegisterEnterpriseEnterpriseType"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" valign="top" width="150">
                            Introduce:
                        </td>
                        <td>
                            <asp:TextBox ID="txtRegisterEnterpriseIntroduce" runat="server" CssClass="TextboxStyle"
                                Height="80px" TextMode="MultiLine" Width="265px"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:RequiredFieldValidator ID="rfvRegisterEnterpriseIntroduce" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtRegisterEnterpriseIntroduce"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div class="ButtonAndBlankStyle">
            <table>
                <tr>
                    <td width="360px">
                    </td>
                    <td width="85px">
                        <asp:ImageButton ID="btnRegisterEnterprisePrevious" runat="server" ImageUrl="~/Images/btnPublicPrevious.png"
                            OnClick="btnRegisterEnterprisePrevious_Click" CausesValidation="False" />
                    </td>
                    <td width="85px">
                        <asp:ImageButton ID="btnRegisterEnterpriseNext" runat="server" ImageUrl="~/Images/btnPublicNext.png"
                            OnClick="btnRegisterEnterpriseNext_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
